import pygame

#from game.ui.base.entity import Entity
#from game.constant import *
from game.data.assets.assetManager import load_image
from game.data.assets.test.world_map import *

class Tile(pygame.sprite.Sprite):
	def __init__(self,pos,groups,):
				 #sprite_type,surface=pygame.Surface((TILESIZE,TILESIZE))):
		super().__init__(groups)
		#self.sprite_type=sprite_type
		self.image=load_image('test/rock.png').convert_alpha()
		self.rect=self.image.get_rect(topleft=pos)
		self.hitbox=self.rect.inflate(0,-10)
